<?php
require_once ("../dao/ObjectLoanDAO.php");
$action = $_POST['act'];
if($action == 'get') {
	echo json_encode(getObjects());
}
?>